package com.example.hxds.bff.customer.feign;

import com.example.hxds.bff.customer.controller.form.EstimateOrderChargeForm;
import com.example.hxds.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

/**
 * @ClassName: RuleServiceApi
 * @Description: 规则模块客户端
 * @Author: 丛雨
 * @Date: 2024/1/29 10:03
 */
@FeignClient(value = "hxds-rule")
public interface RuleServiceApi {
    @PostMapping("/charge/estimateOrderCharge")
    R estimateOrderCharge(@RequestBody @Valid EstimateOrderChargeForm form);
}
